package eteam.aps.model.entity.other;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * @author LiuLei
 */
@ApiModel(description = "订单身", value = "SalesOrderBody")
@JsonIgnoreProperties(ignoreUnknown = true)
public class SalesOrderBody {

    /**
     * 订单序号；订单序号
     */
    @ApiModelProperty(name = "订单序号", notes = "订单序号")
    @JsonAlias("rowno")
    private int fRowNum;

    /**
     * 物料编号;物料编号
     */
    @ApiModelProperty(name = "物料编号", notes = "物料编号")
    @JsonAlias("inventorycode")
    private String fInvCode;

    /**
     * 物料名称;物料名称
     */
    @ApiModelProperty(name = "物料名称", notes = "物料名称")
    @JsonAlias("inventoryname")
    private String fInvName;

    /**
     * 物料规格;物料规格
     */
    @ApiModelProperty(name = "物料规格", notes = "物料规格")
    @JsonAlias("invstd")
    private String fInvStd;

    /**
     * 销售单位;销售单位
     */
    @ApiModelProperty(name = "销售单位", notes = "销售单位")
    @JsonAlias("unitname")
    private String fUnitName;

    /**
     * 订货数;订货数
     */
    @ApiModelProperty(name = "订货数", notes = "订货数")
    @JsonAlias("quantity")
    private BigDecimal fOrderNum;

    /**
     * 单价;单价
     */
    @ApiModelProperty(name = "单价", notes = "单价")
    @JsonAlias("unitprice")
    private BigDecimal fUnitPrice;

    /**
     * 报价;报价
     */
    @ApiModelProperty(name = "报价", notes = "报价")
    @JsonAlias("quotedprice")
    private BigDecimal fQuotedPrice;

    /**
     * 含税单价;含税单价
     */
    @ApiModelProperty(name = "含税单价", notes = "含税单价")
    @JsonAlias("taxunitprice")
    private BigDecimal fTaxUnitPrice;

    /**
     * 税率，默认17;税率，默认17
     */
    @ApiModelProperty(name = "税率，默认17", notes = "税率，默认17")
    @JsonAlias("taxrate")
    private BigDecimal fTaxRate;

    /**
     * 无税金额;无税金额
     */
    @ApiModelProperty(name = "无税金额", notes = "无税金额")
    @JsonAlias("money")
    private BigDecimal fMoney;

    /**
     * 价税合计;价税合计
     */
    @ApiModelProperty(name = "价税合计", notes = "价税合计")
    @JsonAlias("sum")
    private BigDecimal fSum;

    /**
     * 本次发货数;本次发货数
     */
    @ApiModelProperty(name = "本次发货数", notes = "本次发货数")
    private BigDecimal fSendNum = BigDecimal.ZERO;

    /**
     * 已扫描数;已扫描数
     */
    @ApiModelProperty(name = "已扫描数", notes = "已扫描数")
    private BigDecimal fScanNum = BigDecimal.ZERO;

    /**
     * 订单状态;订单状态【0 草稿，1 扫描，2 已发货】
     */
    @ApiModelProperty(name = "订单状态", notes = "订单状态【0 草稿，1 扫描，2 已发货】")
    private int fOrderState;

    public int getfRowNum() {
        return fRowNum;
    }

    public void setfRowNum(int fRowNum) {
        this.fRowNum = fRowNum;
    }

    public String getfInvCode() {
        return fInvCode;
    }

    public void setfInvCode(String fInvCode) {
        this.fInvCode = fInvCode;
    }

    public String getfInvName() {
        return fInvName;
    }

    public void setfInvName(String fInvName) {
        this.fInvName = fInvName;
    }

    public String getfInvStd() {
        return fInvStd;
    }

    public void setfInvStd(String fInvStd) {
        this.fInvStd = fInvStd;
    }

    public String getfUnitName() {
        return fUnitName;
    }

    public void setfUnitName(String fUnitName) {
        this.fUnitName = fUnitName;
    }

    public BigDecimal getfOrderNum() {
        return fOrderNum;
    }

    public void setfOrderNum(BigDecimal fOrderNum) {
        this.fOrderNum = fOrderNum;
    }

    public BigDecimal getfUnitPrice() {
        return fUnitPrice;
    }

    public void setfUnitPrice(BigDecimal fUnitPrice) {
        this.fUnitPrice = fUnitPrice;
    }

    public BigDecimal getfQuotedPrice() {
        return fQuotedPrice;
    }

    public void setfQuotedPrice(BigDecimal fQuotedPrice) {
        this.fQuotedPrice = fQuotedPrice;
    }

    public BigDecimal getfTaxUnitPrice() {
        return fTaxUnitPrice;
    }

    public void setfTaxUnitPrice(BigDecimal fTaxUnitPrice) {
        this.fTaxUnitPrice = fTaxUnitPrice;
    }

    public BigDecimal getfTaxRate() {
        return fTaxRate;
    }

    public void setfTaxRate(BigDecimal fTaxRate) {
        this.fTaxRate = fTaxRate;
    }

    public BigDecimal getfMoney() {
        return fMoney;
    }

    public void setfMoney(BigDecimal fMoney) {
        this.fMoney = fMoney;
    }

    public BigDecimal getfSum() {
        return fSum;
    }

    public void setfSum(BigDecimal fSum) {
        this.fSum = fSum;
    }

    public BigDecimal getfSendNum() {
        return fSendNum;
    }

    public void setfSendNum(BigDecimal fSendNum) {
        this.fSendNum = fSendNum;
    }

    public BigDecimal getfScanNum() {
        return fScanNum;
    }

    public void setfScanNum(BigDecimal fScanNum) {
        this.fScanNum = fScanNum;
    }

    public int getfOrderState() {
        return fOrderState;
    }

    public void setfOrderState(int fOrderState) {
        this.fOrderState = fOrderState;
    }
}
